#!/usr/bin/python
# -*- coding: utf-8 -*-
import pymysql

db = pymysql.connect(host='172.17.0.3',port=3306,user='root',passwd='ying',db='test')

cursor = db.cursor()

cursor.execute('select * from account')
data = cursor.fetchall()
print(data)

db.close()


